<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="utf-8"></meta>
	<title>用户添加--layui后台管理模板</title>
	<meta HTTP-EQUIV="Pragma" CONTENT="no-cache"></meta>
	<meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache"></meta>
	<meta HTTP-EQUIV="Expires" CONTENT="0"></meta>
	<link rel="stylesheet" th:href="@{/static/layui/css/layui.css}" media="all"> </link>
	<style type="text/css">
		.layui-form-item .layui-inline{ width:33.333%; float:left; margin-right:0; }
		@media(max-width:1240px){
			.layui-form-item .layui-inline{ width:100%; float:none; }
		}
	</style>
</head>
<body class="childrenBody">
	<form class="layui-form" name="User" id="User"> <!-- 提示：如果你不想用form，你可以换成div等任何一个普通元素 -->
		<div class="layui-form-item">
			<label class="layui-form-label">登录名</label>
			<div class="layui-input-block">
				<input type="text" name="username" class="layui-input userName" lay-verify="username" placeholder="请输入登录名"></input>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">真实姓名</label>
			<div class="layui-input-block">
				<input type="text" name="name" class="layui-input realName" lay-verify="required" placeholder="请输入真实姓名"></input>
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">邮箱</label>
			<div class="layui-input-block">
				<input type="text" name="email" class="layui-input userEmail" lay-verify="email" placeholder="请输入邮箱"></input>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">密码</label>
			<div class="layui-input-block">
				<input type="text" name="password" class="layui-input pwd" lay-verify="password" placeholder="请输入密码"></input>
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">电话</label>
			<div class="layui-input-block">
				<input type="text" name="telphone" class="layui-input tel" lay-verify="phone" placeholder="请输入电话"></input>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">部门</label>
			<div class="layui-input-block">
				<select id="select" name="deptid" lay-filter="aihao">
					<option value="0"></option>
					<option value="1">教学部</option>
					<option value="2">市场部</option>
					<option value="3">就业部</option>
					<option value="4">行政部</option>
					<option value="4">人事部</option>
				</select>
			</div>
		</div>

		<div class="layui-form-item">
			<div class="layui-input-block">
				<button class="layui-btn" lay-submit="" lay-filter="addUser">立即提交</button>
				<button type="reset" class="layui-btn layui-btn-primary">重置</button>
			</div>
		</div>
	</form>
	<script type="text/javascript" th:src="@{/static/layui/layui.js}"></script>
	<script type="text/javascript" th:src="@{/static/js/addUser.js}"></script>
</body>
</html>